[INFO] cloning repository https://github.com/y-usuzumi/web-server-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/y-usuzumi/web-server-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy-usuzumi%2Fweb-server-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy-usuzumi%2Fweb-server-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 72bb440407614db10dc5ff2f59ceec87d891dd07
[INFO] checking y-usuzumi/web-server-rs against master#98e1f041b6e33598a18edb928ec9db93a850c6cb for pr-101680
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy-usuzumi%2Fweb-server-rs" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/y-usuzumi/web-server-rs on toolchain 98e1f041b6e33598a18edb928ec9db93a850c6cb
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/y-usuzumi/web-server-rs
[INFO] finished tweaking git repo https://github.com/y-usuzumi/web-server-rs
[INFO] tweaked toml for git repo https://github.com/y-usuzumi/web-server-rs written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/y-usuzumi/web-server-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a95250d74b4e5a855572ea25300c0e6b2362a17fe04bb93d8554f67d30c02209
[INFO] running `Command { std: "docker" "start" "-a" "a95250d74b4e5a855572ea25300c0e6b2362a17fe04bb93d8554f67d30c02209", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a95250d74b4e5a855572ea25300c0e6b2362a17fe04bb93d8554f67d30c02209", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a95250d74b4e5a855572ea25300c0e6b2362a17fe04bb93d8554f67d30c02209", kill_on_drop: false }`
[INFO] [stdout] a95250d74b4e5a855572ea25300c0e6b2362a17fe04bb93d8554f67d30c02209
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5831889dc57e4687e931d2f0790ab9d2faa7b0268974e75041e6411cb0a2750b
[INFO] running `Command { std: "docker" "start" "-a" "5831889dc57e4687e931d2f0790ab9d2faa7b0268974e75041e6411cb0a2750b", kill_on_drop: false }`
[INFO] [stderr]     Checking webserver v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/server.rs:15:45
[INFO] [stdout]    |
[INFO] [stdout] 15 |     handlers: HashMap<(String, String), Box<Handler>>
[INFO] [stdout]    |                                             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 -     handlers: HashMap<(String, String), Box<Handler>>
[INFO] [stdout] 15 +     handlers: HashMap<(String, String), Box<dyn Handler>>
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/server.rs:15:45
[INFO] [stdout]    |
[INFO] [stdout] 15 |     handlers: HashMap<(String, String), Box<Handler>>
[INFO] [stdout]    |                                             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 -     handlers: HashMap<(String, String), Box<Handler>>
[INFO] [stdout] 15 +     handlers: HashMap<(String, String), Box<dyn Handler>>
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cnt`
[INFO] [stdout]  --> src/thread_pool.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn new(cnt: usize) -> ThreadPool {
[INFO] [stdout]   |                ^^^ help: if this is intentional, prefix it with an underscore: `_cnt`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]  --> src/thread_pool.rs:8:30
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn execute<T>(&self, f: T)
[INFO] [stdout]   |                              ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function
[INFO] [stdout]   --> src/server.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |       pub fn run(&self) {
[INFO] [stdout]    |                  -----
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  `self` is a reference that is only valid in the associated function body
[INFO] [stdout]    |                  let's call the lifetime of this reference `'1`
[INFO] [stdout] ...
[INFO] [stdout] 41 | /             pool.execute(|| {
[INFO] [stdout] 42 | |                 self.handle_connection(&mut stream);
[INFO] [stdout] 43 | |             })
[INFO] [stdout]    | |              ^
[INFO] [stdout]    | |              |
[INFO] [stdout]    | |______________`self` escapes the associated function body here
[INFO] [stdout]    |                argument requires that `'1` must outlive `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `stream`, which is owned by the current function
[INFO] [stdout]   --> src/server.rs:41:26
[INFO] [stdout]    |
[INFO] [stdout] 41 |             pool.execute(|| {
[INFO] [stdout]    |                          ^^ may outlive borrowed value `stream`
[INFO] [stdout] 42 |                 self.handle_connection(&mut stream);
[INFO] [stdout]    |                                             ------ `stream` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/server.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 | /             pool.execute(|| {
[INFO] [stdout] 42 | |                 self.handle_connection(&mut stream);
[INFO] [stdout] 43 | |             })
[INFO] [stdout]    | |______________^
[INFO] [stdout] help: to force the closure to take ownership of `stream` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 41 |             pool.execute(move || {
[INFO] [stdout]    |                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `self`, which is owned by the current function
[INFO] [stdout]   --> src/server.rs:41:26
[INFO] [stdout]    |
[INFO] [stdout] 41 |             pool.execute(|| {
[INFO] [stdout]    |                          ^^ may outlive borrowed value `self`
[INFO] [stdout] 42 |                 self.handle_connection(&mut stream);
[INFO] [stdout]    |                 ---- `self` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/server.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 | /             pool.execute(|| {
[INFO] [stdout] 42 | |                 self.handle_connection(&mut stream);
[INFO] [stdout] 43 | |             })
[INFO] [stdout]    | |______________^
[INFO] [stdout] help: to force the closure to take ownership of `self` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 41 |             pool.execute(move || {
[INFO] [stdout]    |                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0373, E0521.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `webserver` due to 4 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `cnt`
[INFO] [stdout]  --> src/thread_pool.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn new(cnt: usize) -> ThreadPool {
[INFO] [stdout]   |                ^^^ help: if this is intentional, prefix it with an underscore: `_cnt`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]  --> src/thread_pool.rs:8:30
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn execute<T>(&self, f: T)
[INFO] [stdout]   |                              ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function
[INFO] [stdout]   --> src/server.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |       pub fn run(&self) {
[INFO] [stdout]    |                  -----
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  `self` is a reference that is only valid in the associated function body
[INFO] [stdout]    |                  let's call the lifetime of this reference `'1`
[INFO] [stdout] ...
[INFO] [stdout] 41 | /             pool.execute(|| {
[INFO] [stdout] 42 | |                 self.handle_connection(&mut stream);
[INFO] [stdout] 43 | |             })
[INFO] [stdout]    | |              ^
[INFO] [stdout]    | |              |
[INFO] [stdout]    | |______________`self` escapes the associated function body here
[INFO] [stdout]    |                argument requires that `'1` must outlive `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `stream`, which is owned by the current function
[INFO] [stdout]   --> src/server.rs:41:26
[INFO] [stdout]    |
[INFO] [stdout] 41 |             pool.execute(|| {
[INFO] [stdout]    |                          ^^ may outlive borrowed value `stream`
[INFO] [stdout] 42 |                 self.handle_connection(&mut stream);
[INFO] [stdout]    |                                             ------ `stream` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/server.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 | /             pool.execute(|| {
[INFO] [stdout] 42 | |                 self.handle_connection(&mut stream);
[INFO] [stdout] 43 | |             })
[INFO] [stdout]    | |______________^
[INFO] [stdout] help: to force the closure to take ownership of `stream` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 41 |             pool.execute(move || {
[INFO] [stdout]    |                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `self`, which is owned by the current function
[INFO] [stdout]   --> src/server.rs:41:26
[INFO] [stdout]    |
[INFO] [stdout] 41 |             pool.execute(|| {
[INFO] [stdout]    |                          ^^ may outlive borrowed value `self`
[INFO] [stdout] 42 |                 self.handle_connection(&mut stream);
[INFO] [stdout]    |                 ---- `self` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/server.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 | /             pool.execute(|| {
[INFO] [stdout] 42 | |                 self.handle_connection(&mut stream);
[INFO] [stdout] 43 | |             })
[INFO] [stdout]    | |______________^
[INFO] [stdout] help: to force the closure to take ownership of `self` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 41 |             pool.execute(move || {
[INFO] [stdout]    |                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0373, E0521.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `webserver` due to 4 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5831889dc57e4687e931d2f0790ab9d2faa7b0268974e75041e6411cb0a2750b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5831889dc57e4687e931d2f0790ab9d2faa7b0268974e75041e6411cb0a2750b", kill_on_drop: false }`
[INFO] [stdout] 5831889dc57e4687e931d2f0790ab9d2faa7b0268974e75041e6411cb0a2750b
